const Joi = require('joi');

exports.addPokeSchema = Joi.object({
    id: Joi.required(),
    name: Joi.string().min(2).max(30).required(),
    attribute:Joi.string().required(),
    race:Joi.string().required(),
    outline:Joi.string().required(),
    evolution:Joi.string(),
    area:Joi.string().required()
})

exports.deletePokeSchema = Joi.object({
    id: Joi.required()
})